<?php

class IndexController extends Zend_Controller_Action {

    public function init() {
        /* Initialize action controller here */
    }

    public function indexAction() {
        // action body
    }

    public function _loginAction() {
        // action body
        //$this->_helper->layout()->disableLayout();
        $this->_helper->layout->setLayout('layout-simple');
     
        /*
          $registry = Zend_Registry::getInstance();
          $acl = $registry->get('acl');
          var_dump($acl);
         */

        // Formulaire d'authentification
        $form = new Application_Form_Login();
        $this->view->form = $form;
        $this->view->message = null;
    }

}

